package tester.parser;

/**
 * This class holds the config information for all the tests
 * @author Caleb Chan
 *
 */
public class TesterConfig {
	public static final TesterConfig instance = new TesterConfig();
	/**
	 * Returns a singleton of TesterConfig
	 * @return Returns a singleton of TesterConfig
	 */
	public static TesterConfig getInstance(){
		return instance;
	}
	
	private String elevatorPath;
	private int gdPort;
	private int pdPort;
	private int initalElevators;
	
	private TesterConfig(){
		
	}

	/**
	 * Returns the Elevator Path
	 * @return Returns the Elevator Path
	 */
	public String getElevatorPath() {
		return elevatorPath;
	}
	/**
	 * Sets the elevator Path
	 * @param elevatorPath Sets the elevator path
	 */
	public void setElevatorPath(String elevatorPath) {
		this.elevatorPath = elevatorPath;
	}
	/**
	 * Returns the GD port
	 * @return Returns the GD port
	 */
	public int getGdPort() {
		return gdPort;
	}
	/**
	 * Set the GD port
	 * @param gdPort Sets the GD port
	 */
	public void setGdPort(int gdPort) {
		this.gdPort = gdPort;
	}
	/**
	 * Returns the PD port
	 * @return Returns the PD port
	 */
	public int getPdPort() {
		return pdPort;
	}
	/**
	 * Set the PD port
	 * @param pdPort Sets the PD port
	 */
	public void setPdPort(int pdPort) {
		this.pdPort = pdPort;
	}

	/**
	 * Returns the initial elevators
	 * @return Returns the initial elevators
	 */
	public int getInitalElevators() {
		return initalElevators;
	}
	/**
	 * Set the initial elevators
	 * @return Set the initial elevators
	 */
	public void setInitalElevators(int initalElevators) {
		this.initalElevators = initalElevators;
	}
	
}
